/**
 * 
 */
package edu.nyu.msis.main;

import edu.nyu.msis.parser.MainParser;
import edu.nyu.msis.utilities.FileIO;

/**
 * @author SC
 *
 */
public class LinkerMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		if (args.length < 2) {
			System.out.println("Please specify an input filename and output filename.");
			System.out.println("Usage: java -jar MyLinker.jar <input-file-name> <output-file-name>");
			return;
		}
		else {
			FileIO fileObject = new FileIO(args[0], args[1]);
			System.out.println(args[0]+" "+args[1]);
			MainParser mainParser = new MainParser(fileObject);
			mainParser.runLoop();
		}
	}
}